/*
 * @Author: xiaosihan
 * @Date: 2024-09-20 08:23:49
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2024-09-20 08:38:59
 */

import { observable, configure } from "mobx";
configure({ enforceActions: "never" });

const updataPhoneSore = observable(
  {
    open: false,
    setOpen(open: boolean) {
      this.open = open;
      this.setStep(1);
    },

    // 步骤
    step: 1,
    setStep(step: number) {
      this.step = step;
    },
  },
  {},
  { deep: false }
);
export default updataPhoneSore;
